package com.suray.basic.wcs.path.core;

public class NodeToRes {
    private Node node;
    private Integer curSegmentNum;

    public NodeToRes(Node node, Integer curSegmentNum) {
        this.node = node;
        this.curSegmentNum = curSegmentNum;
    }

    public Node getNode() {
        return node;
    }

    public void setNode(Node node) {
        this.node = node;
    }

    public Integer getCurSegmentNum() {
        return curSegmentNum;
    }

    public void setCurSegmentNum(Integer curSegmentNum) {
        this.curSegmentNum = curSegmentNum;
    }

    @Override
    public String toString() {
        return "NodeToRes{" +
                "node=" + node +
                ", curSegmentNum=" + curSegmentNum +
                '}';
    }
}
